package com.iwhalecloud.bss.kite.cucc.service.pay;

import com.iwhalecloud.bss.kite.cucc.client.dto.pos.KitePosDTO;
import com.iwhalecloud.bss.kite.cucc.client.dto.pos.KitePosDetailDTO;

import java.util.concurrent.ExecutorCompletionService;

public enum QryOrderDetailCompletionService {
    /**
     *
     */
    INSTANCE;

    private ExecutorCompletionService<KitePosDetailDTO> executorCompletionService;

    QryOrderDetailCompletionService(){
        executorCompletionService = new ExecutorCompletionService<>(QryOrderDetailExecutorService.getInstance().getExecutor());
    }


    public ExecutorCompletionService<KitePosDetailDTO> getExecutorCompletionService(){
        return executorCompletionService;
    }


}
